﻿ul {
    list-style: none;
    padding-left: 0;
}
/*CONTENIDO*/
#home-contenido {
    height: auto;
    border-radius: 10px;
    background-color: white !important;
    padding: 2rem;
    height: auto;
}

#contenido {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

/*INFORMES*/
#informes {
    margin-top: 2rem;
    margin-left: -05px;
}

#home-informes {
    border-radius: 10px;
    padding: 10px;
    background-color: white !important;
}

.color {
    background-color: #559C52;
    padding: 5px;
    border-radius: 10px;
    color: white;
    text-align: center;
    display: flex;
    align-items: center; /* Centra verticalmente */
    justify-content: center; /* Centra horizontalmente */
}

/*Descargas*/

.descarga {
    display: block; /* Que ocupe todo el ancho posible */
    padding: 10px 15px; /* Espacio interno para la franja */
    color: inherit; /* Color texto por defecto */
    text-decoration: none; /* Sin subrayado */
    background-color: transparent;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    transition: all 0.3s ease;
}


    /* Hover: cuando pasas el mouse */
    .descarga:hover {
        background-color: rgba(85, 156, 82, 0.2); /* Fondo verde */
        color: #559C52 !important; /* Texto verde claro (ajusta como quieras) */
        border-left-color: #559C52 !important; /* Franja verde oscura izquierda */
        border-right-color: #559C52 !important; /* Franja verde oscura derecha */
    }

        /* Para que el texto <p> tome el color del enlace */
        .descarga:hover p {
            color: #559C52 !important;
        }

        /* Para que el ícono también cambie */
        .descarga:hover i {
            color: #559C52 !important;
        }

a {
    text-decoration: none;
}


/*MENU (Oferta academica)*/
#home-menu {
    padding: 2rem;
    text-align: center;
}

#menu {
    border: 1px solid #bb4b26;
    margin-bottom: 2rem;
}

.menu {
    color: #404040 !important;
}

.span {
    color: #bb4b26;
}

.titulo {
    background-color: #bb4b26;
    padding: 5px;
    color: white;
    text-align: center;
    display: flex;
    align-items: center; /* Centra verticalmente */
    justify-content: center; /* Centra horizontalmente */
}

.enlaces a {
    text-decoration: none;
    padding: 13px;
}

    .enlaces a:hover {
        text-decoration: underline; /* aparece subrayado */
        text-decoration-color: #bb4b26;
        color: black !important;
        background-color: rgba(187, 75, 38, 0.2);
    }

.carousel-control-prev,
.carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: white;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: opacity 0.1s ease;
    z-index: 2; /* Para estar sobre las imágenes */
    position: absolute;
}

    .carousel-control-prev:hover,
    .carousel-control-next:hover,
    .carousel-control-prev:focus,
    .carousel-control-next:focus {
        opacity: 1;
        background-color: rgba(85, 156, 82, 0.5);
        /* 0.5 = 50% opacidad */
    }

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1); /* Icono oscuro sobre fondo blanco */
    width: 20px;
    height: 20px;
}
